﻿namespace GEPL.InterfaceLibrary
{
    /// <summary>
    /// Defines the type of an element - whether it's normal statement, or part of programming block/structure.
    /// </summary>
    public enum ElementType
    {
        /// <summary>
        /// Just some lines of code. No indentation change.
        /// </summary>
        NormalStatement,

        /// <summary>
        /// Start of a programming block (e.g. if structure).
        /// Increase indentation after this command.
        /// </summary>
        StartBlock,

        /// <summary>
        /// Next part of the same structure (e.g. elif).
        /// Keep indentation, but put this command at higher level.
        /// </summary>
        MiddleBlock,

        /// <summary>
        /// End of programming block (e.g. end if).
        /// Decrease indentation after this command.
        /// </summary>
        EndBlock
    }
}